#!/usr/bin/env node

const log = console.log;
const http = require('http');
const fs = require('fs');
const url = 'http://localhost:8080/'

http.get(url, res=>{
    res.pipe(fs.createWriteStream('./client-file/book.png'));
});

